home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_emacs.idb / usr / freeware / share / emacs / 19.34 / lisp / vt-control.elc.z / vt-control.elc
Emacs Compiled Lisp  |  1998-10-28  |  1.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 65 72 69 6b 40 6e 61 |piled by| erik@na|
|00000020| 67 67 75 6d 2e 6e 6f 20 | 6f 6e 20 53 61 74 20 4d |ggum.no |on Sat M|
|00000030| 61 79 20 31 38 20 31 36 | 3a 32 34 3a 30 33 20 31 |ay 18 16|:24:03 1|
|00000040| 39 39 36 0a 3b 3b 3b 20 | 66 72 6f 6d 20 66 69 6c |996.;;; |from fil|
|00000050| 65 20 2f 68 6f 6d 65 2f | 67 64 2f 67 6e 75 2f 65 |e /home/|gd/gnu/e|
|00000060| 6d 61 63 73 2f 31 39 2e | 30 2f 6c 69 73 70 2f 76 |macs/19.|0/lisp/v|
|00000070| 74 2d 63 6f 6e 74 72 6f | 6c 2e 65 6c 0a 3b 3b 3b |t-contro|l.el.;;;|
|00000080| 20 65 6d 61 63 73 20 76 | 65 72 73 69 6f 6e 20 31 | emacs v|ersion 1|
|00000090| 39 2e 33 30 2e 39 39 2e | 31 2e 0a 3b 3b 3b 20 62 |9.30.99.|1..;;; b|
|000000a0| 79 74 65 63 6f 6d 70 20 | 76 65 72 73 69 6f 6e 20 |ytecomp |version |
|000000b0| 46 53 46 20 32 2e 31 30 | 0a 3b 3b 3b 20 6f 70 74 |FSF 2.10|.;;; opt|
|000000c0| 69 6d 69 7a 61 74 69 6f | 6e 20 69 73 20 6f 6e 2e |imizatio|n is on.|
|000000d0| 0a 3b 3b 3b 20 74 68 69 | 73 20 66 69 6c 65 20 75 |.;;; thi|s file u|
|000000e0| 73 65 73 20 6f 70 63 6f | 64 65 73 20 77 68 69 63 |ses opco|des whic|
|000000f0| 68 20 64 6f 20 6e 6f 74 | 20 65 78 69 73 74 20 69 |h do not| exist i|
|00000100| 6e 20 45 6d 61 63 73 20 | 31 38 2e 0a 0a 28 69 66 |n Emacs |18...(if|
|00000110| 20 28 61 6e 64 20 28 62 | 6f 75 6e 64 70 20 27 65 | (and (b|oundp 'e|
|00000120| 6d 61 63 73 2d 76 65 72 | 73 69 6f 6e 29 0a 09 20 |macs-ver|sion).. |
|00000130| 28 6f 72 20 28 61 6e 64 | 20 28 62 6f 75 6e 64 70 |(or (and| (boundp|
|00000140| 20 27 65 70 6f 63 68 3a | 3a 76 65 72 73 69 6f 6e | 'epoch:|:version|
|00000150| 29 20 65 70 6f 63 68 3a | 3a 76 65 72 73 69 6f 6e |) epoch:|:version|
|00000160| 29 0a 09 20 20 20 20 20 | 28 73 74 72 69 6e 67 2d |).. |(string-|
|00000170| 6c 65 73 73 70 20 65 6d | 61 63 73 2d 76 65 72 73 |lessp em|acs-vers|
|00000180| 69 6f 6e 20 22 31 39 2e | 32 39 22 29 29 29 0a 20 |ion "19.|29"))). |
|00000190| 20 20 20 28 65 72 72 6f | 72 20 22 60 76 74 2d 63 | (erro|r "`vt-c|
|000001a0| 6f 6e 74 72 6f 6c 2e 65 | 6c 27 20 77 61 73 20 63 |ontrol.e|l' was c|
|000001b0| 6f 6d 70 69 6c 65 64 20 | 66 6f 72 20 45 6d 61 63 |ompiled |for Emac|
|000001c0| 73 20 31 39 2e 32 39 20 | 6f 72 20 6c 61 74 65 72 |s 19.29 |or later|
|000001d0| 22 29 29 0a 0a 0a 23 40 | 34 35 20 49 66 20 6e 6f |"))...#@|45 If no|
|000001e0| 6e 2d 6e 69 6c 2c 20 6b | 65 79 70 61 64 20 69 73 |n-nil, k|eypad is|
|000001f0| 20 69 6e 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 | in appl|ications|
|00000200| 20 6d 6f 64 65 2e 1f 0a | 28 64 65 66 76 61 72 20 | mode...|(defvar |
|00000210| 76 74 2d 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 2d |vt-appli|cations-|
|00000220| 6b 65 79 70 61 64 2d 70 | 20 74 20 28 23 24 20 2e |keypad-p| t (#$ .|
|00000230| 20 34 37 35 29 29 0a 23 | 40 34 38 20 49 66 20 6e | 475)).#|@48 If n|
|00000240| 6f 6e 2d 6e 69 6c 2c 20 | 74 68 65 20 73 63 72 65 |on-nil, |the scre|
|00000250| 65 6e 20 69 73 20 31 33 | 32 20 63 68 61 72 61 63 |en is 13|2 charac|
|00000260| 74 65 72 73 20 77 69 64 | 65 2e 1f 0a 28 64 65 66 |ters wid|e...(def|
|00000270| 76 61 72 20 76 74 2d 77 | 69 64 65 2d 70 20 6e 69 |var vt-w|ide-p ni|
|00000280| 6c 20 28 23 24 20 2e 20 | 35 37 32 29 29 0a 23 40 |l (#$ . |572)).#@|
|00000290| 33 37 20 53 65 74 20 74 | 68 65 20 73 63 72 65 65 |37 Set t|he scree|
|000002a0| 6e 20 31 33 32 20 63 68 | 61 72 61 63 74 65 72 73 |n 132 ch|aracters|
|000002b0| 20 77 69 64 65 2e 1f 0a | 28 64 65 66 61 6c 69 61 | wide...|(defalia|
|000002c0| 73 20 27 76 74 2d 77 69 | 64 65 20 23 5b 6e 69 6c |s 'vt-wi|de #[nil|
|000002d0| 20 22 c0 c1 21 88 c2 c3 | 21 88 c4 89 15 87 22 20 | "..!...|!....." |
|000002e0| 5b 73 65 6e 64 2d 73 74 | 72 69 6e 67 2d 74 6f 2d |[send-st|ring-to-|
|000002f0| 74 65 72 6d 69 6e 61 6c | 20 22 1b 5b 3f 33 68 22 |terminal| ".[?3h"|
|00000300| 20 73 65 74 2d 73 63 72 | 65 65 6e 2d 77 69 64 74 | set-scr|een-widt|
|00000310| 68 20 31 33 32 20 74 20 | 76 74 2d 77 69 64 65 2d |h 132 t |vt-wide-|
|00000320| 70 5d 20 32 20 28 23 24 | 20 2e 20 36 35 39 29 20 |p] 2 (#$| . 659) |
|00000330| 6e 69 6c 5d 29 0a 23 40 | 33 36 20 53 65 74 20 74 |nil]).#@|36 Set t|
|00000340| 68 65 20 73 63 72 65 65 | 6e 20 38 30 20 63 68 61 |he scree|n 80 cha|
|00000350| 72 61 63 74 65 72 73 20 | 77 69 64 65 2e 1f 0a 28 |racters |wide...(|
|00000360| 64 65 66 61 6c 69 61 73 | 20 27 76 74 2d 6e 61 72 |defalias| 'vt-nar|
|00000370| 72 6f 77 20 23 5b 6e 69 | 6c 20 22 c0 c1 21 88 c2 |row #[ni|l "..!..|
|00000380| c3 21 88 c4 89 15 87 22 | 20 5b 73 65 6e 64 2d 73 |.!....."| [send-s|
|00000390| 74 72 69 6e 67 2d 74 6f | 2d 74 65 72 6d 69 6e 61 |tring-to|-termina|
|000003a0| 6c 20 22 1b 5b 3f 33 6c | 22 20 73 65 74 2d 73 63 |l ".[?3l|" set-sc|
|000003b0| 72 65 65 6e 2d 77 69 64 | 74 68 20 38 30 20 6e 69 |reen-wid|th 80 ni|
|000003c0| 6c 20 76 74 2d 77 69 64 | 65 2d 70 5d 20 32 20 28 |l vt-wid|e-p] 2 (|
|000003d0| 23 24 20 2e 20 38 32 37 | 29 20 6e 69 6c 5d 29 0a |#$ . 827|) nil]).|
|000003e0| 23 40 35 31 20 54 6f 67 | 67 6c 65 20 62 65 74 77 |#@51 Tog|gle betw|
|000003f0| 65 65 6e 20 38 30 20 61 | 6e 64 20 31 33 32 20 63 |een 80 a|nd 132 c|
|00000400| 68 61 72 61 63 74 65 72 | 20 73 63 72 65 65 6e 20 |haracter| screen |
|00000410| 77 69 64 74 68 2e 1f 0a | 28 64 65 66 61 6c 69 61 |width...|(defalia|
|00000420| 73 20 27 76 74 2d 74 6f | 67 67 6c 65 2d 73 63 72 |s 'vt-to|ggle-scr|
|00000430| 65 65 6e 20 23 5b 6e 69 | 6c 20 22 08 83 07 00 c1 |een #[ni|l ".....|
|00000440| 20 87 c2 20 87 22 20 5b | 76 74 2d 77 69 64 65 2d | .. ." [|vt-wide-|
|00000450| 70 20 76 74 2d 6e 61 72 | 72 6f 77 20 76 74 2d 77 |p vt-nar|row vt-w|
|00000460| 69 64 65 5d 20 31 20 28 | 23 24 20 2e 20 39 39 37 |ide] 1 (|#$ . 997|
|00000470| 29 20 6e 69 6c 5d 29 0a | 23 40 33 37 20 54 75 72 |) nil]).|#@37 Tur|
|00000480| 6e 20 6f 6e 20 74 68 65 | 20 56 54 20 61 70 70 6c |n on the| VT appl|
|00000490| 69 63 61 74 69 6f 6e 73 | 20 6b 65 79 70 61 64 2e |ications| keypad.|
|000004a0| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 76 74 2d |..(defal|ias 'vt-|
|000004b0| 6b 65 79 70 61 64 2d 6f | 6e 20 23 5b 28 26 6f 70 |keypad-o|n #[(&op|
|000004c0| 74 69 6f 6e 61 6c 20 74 | 65 6c 6c 29 20 22 c0 c1 |tional t|ell) "..|
|000004d0| 21 88 c2 13 5c 66 84 0e | 00 74 85 11 00 c5 c6 21 |!...\f..|.t.....!|
|000004e0| 87 22 20 5b 73 65 6e 64 | 2d 73 74 72 69 6e 67 2d |." [send|-string-|
|000004f0| 74 6f 2d 74 65 72 6d 69 | 6e 61 6c 20 22 1b 3d 22 |to-termi|nal ".="|
|00000500| 20 74 20 76 74 2d 61 70 | 70 6c 69 63 61 74 69 6f | t vt-ap|plicatio|
|00000510| 6e 73 2d 6b 65 79 70 61 | 64 2d 70 20 74 65 6c 6c |ns-keypa|d-p tell|
|00000520| 20 6d 65 73 73 61 67 65 | 20 22 41 70 70 6c 69 63 | message| "Applic|
|00000530| 61 74 69 6f 6e 73 20 6b | 65 79 70 61 64 20 65 6e |ations k|eypad en|
|00000540| 61 62 6c 65 64 2e 22 5d | 20 32 20 28 23 24 20 2e |abled."]| 2 (#$ .|
|00000550| 20 31 31 34 39 29 20 6e | 69 6c 5d 29 0a 23 40 33 | 1149) n|il]).#@3|
|00000560| 38 20 54 75 72 6e 20 6f | 66 66 20 74 68 65 20 56 |8 Turn o|ff the V|
|00000570| 54 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 73 20 6b |T applic|ations k|
|00000580| 65 79 70 61 64 2e 1f 0a | 28 64 65 66 61 6c 69 61 |eypad...|(defalia|
|00000590| 73 20 27 76 74 2d 6b 65 | 79 70 61 64 2d 6f 66 66 |s 'vt-ke|ypad-off|
|000005a0| 20 23 5b 28 26 6f 70 74 | 69 6f 6e 61 6c 20 74 65 | #[(&opt|ional te|
|000005b0| 6c 6c 29 20 22 c0 c1 21 | 88 c2 13 5c 66 84 0e 00 |ll) "..!|...\f...|
|000005c0| 74 85 11 00 c5 c6 21 87 | 22 20 5b 73 65 6e 64 2d |t.....!.|" [send-|
|000005d0| 73 74 72 69 6e 67 2d 74 | 6f 2d 74 65 72 6d 69 6e |string-t|o-termin|
|000005e0| 61 6c 20 22 1b 3e 22 20 | 6e 69 6c 20 76 74 2d 61 |al ".>" |nil vt-a|
|000005f0| 70 70 6c 69 63 61 74 69 | 6f 6e 73 2d 6b 65 79 70 |pplicati|ons-keyp|
|00000600| 61 64 2d 70 20 74 65 6c | 6c 20 6d 65 73 73 61 67 |ad-p tel|l messag|
|00000610| 65 20 22 41 70 70 6c 69 | 63 61 74 69 6f 6e 73 20 |e "Appli|cations |
|00000620| 6b 65 79 70 61 64 20 64 | 69 73 61 62 6c 65 64 2e |keypad d|isabled.|
|00000630| 22 5d 20 32 20 28 23 24 | 20 2e 20 31 33 37 38 29 |"] 2 (#$| . 1378)|
|00000640| 20 22 70 22 5d 29 0a 23 | 40 34 32 20 54 6f 67 67 | "p"]).#|@42 Togg|
|00000650| 6c 65 20 56 54 20 61 70 | 70 6c 69 63 61 74 69 6f |le VT ap|plicatio|
|00000660| 6e 20 6b 65 79 70 61 64 | 20 6f 6e 20 61 6e 64 20 |n keypad| on and |
|00000670| 6f 66 66 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |off...(d|efalias |
|00000680| 27 76 74 2d 6e 75 6d 6c | 6f 63 6b 20 23 5b 6e 69 |'vt-numl|ock #[ni|
|00000690| 6c 20 22 08 83 08 00 c1 | 74 21 87 c2 74 21 87 22 |l ".....|t!..t!."|
|000006a0| 20 5b 76 74 2d 61 70 70 | 6c 69 63 61 74 69 6f 6e | [vt-app|lication|
|000006b0| 73 2d 6b 65 79 70 61 64 | 2d 70 20 76 74 2d 6b 65 |s-keypad|-p vt-ke|
|000006c0| 79 70 61 64 2d 6f 66 66 | 20 76 74 2d 6b 65 79 70 |ypad-off| vt-keyp|
|000006d0| 61 64 2d 6f 6e 5d 20 32 | 20 28 23 24 20 2e 20 31 |ad-on] 2| (#$ . 1|
|000006e0| 36 31 32 29 20 6e 69 6c | 5d 29 0a |612) nil|]). |
+--------+-------------------------+-------------------------+--------+--------+